-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ion-datetime): add hidden-days when showDaysOutsideCurrentMonth prop is true #30209
base: main
Are you sure you want to change the base?
Conversation
- add showDaysOutsideCurrentMonth property to datetime component; - change month generation to respect new property;
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
- create specific test page for showDaysOutsideCurrentMonth;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need test for wheel type for this feature?
@JoaoFerreira-FrontEnd some screenshots are failing, please review this before requesting review 👍 Apart from the comments I already left, I didn't find anything more to comment on! It seems to be working as expected in runtime 💪 |
Issue number: Internal
What is the new behavior?
Add a new property to datetime, showDaysOutsideCurrentMonth, that when true will show the last days of the previous month and the first days of the next month. This will just occupy empty "cells" at the beginning of the month "table" and add rows to the table until a maximum of 6 rows are displayed.
This property's default is false, so this should not introduce a breaking change.
Changes
Does this introduce a breaking change?
Other information